package org.jason.model.interaction.dtos;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel(value = "DeleteCommentDto", description = "删除评论")
@Data
public class DeleteCommentDto {

    @ApiModelProperty(value = "评论id", example = "1")
    @NotNull(message = "评论id不能为空")
    private Integer commentId;

    @ApiModelProperty(value = "文章id", example = "1")
    @NotNull(message = "文章id不能为空")
    private Integer articleId;

    @ApiModelProperty(value = "用户id", example = "1")
    @NotNull(message = "用户id不能为空")
    private Integer userId;
}
